<?php

return [
    [
        'name' => '__tips__',
        'title' => '温馨提示',
        'type' => 'string',
        'content' => [],
        'value' => '请勿长时间使用测试数据,操作前请查阅帮助文档。',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'domain',
        'title' => '绑定二级域名前缀',
        'type' => 'string',
        'content' => [],
        'value' => '',
        'rule' => '',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'rewrite',
        'title' => '伪静态',
        'type' => 'array',
        'content' => [],
        'value' => [
            'web.official_home/index' => '/official/$',
            'web.official_home/single' => '/official/home/single/[:pid]/[:sid]',
            'web.official_home/set_language' => '/official/home/set_language',
            'web.official_home/get_token' => '/official/home/get_token',
            'web.official_journalism/list' => '/official/journalism/list/[:pid]/[:sid]',
            'web.official_journalism/details' => '/official/journalism/details/[:pid]/[:sid]/[:id]',
            'web.official_video/list' => '/official/video/list/[:pid]/[:sid]',
            'web.official_video/details' => '/official/video/details/[:pid]/[:sid]/[:id]',
            'web.official_product/list' => '/official/product/list/[:pid]/[:sid]',
            'web.official_product/details' => '/official/product/details/[:pid]/[:sid]/[:id]',
            'web.official_case_show/list' => '/official/case_show/list/[:pid]/[:sid]',
            'web.official_case_show/details' => '/official/case_show/details/[:pid]/[:sid]/[:id]',
            'web.official_download/list' => '/official/download/list/[:pid]/[:sid]',
            'web.official_download/download' => '/official/download/download/[:pid]/[:sid]/[:id]',
            'web.official_table/list' => '/official/table/list/[:pid]/[:sid]',
            'web.official_table/resume' => '/official/table/resume/[:pid]/[:sid]/[:id]',
            'web.official_online_message/list' => '/official/online_message/list/[:pid]/[:sid]',
        ],
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'language_switch',
        'title' => '默认语言',
        'type' => 'radio',
        'content' => [
            1 => 'English',
            '中文',
        ],
        'value' => '2',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'is_all_data',
        'title' => '数据展示',
        'type' => 'radio',
        'content' => [
            1 => '显示全部数据(默认语言选项无效)',
            0 => '随语言显示数据',
        ],
        'value' => '0',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'son_admin',
        'title' => '子管理员模式',
        'type' => 'radio',
        'content' => [
            1 => '开启(除总管理员外,其余管理员只能管理自己发布的数据)',
            0 => '关闭',
        ],
        'value' => '1',
        'rule' => 'required',
        'msg' => '',
        'tip' => '',
        'ok' => '',
        'extend' => '',
    ],
];
